package com.yanqu.road.entity.log;


import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_tomb_user_score", desc = "秦始皇陵-积分变化", autoSave = true, uploadCk = true)
public class LogTombUserScore extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "活动Id", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "商会id")
    private String unionUid;

    @FieldTypeAnnotation(desc = "积分类型")
    private int type;

    @FieldTypeAnnotation(desc = "积分变化数量")
    private long scoreChange;

    @FieldTypeAnnotation(desc = "积分值")
    private long score;

    @FieldTypeAnnotation(desc = "描述")
    private String description;

    public LogTombUserScore() {

    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getUnionUid() {
        return unionUid;
    }

    public void setUnionUid(String unionUid) {
        this.unionUid = unionUid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getScoreChange() {
        return scoreChange;
    }

    public void setScoreChange(long scoreChange) {
        this.scoreChange = scoreChange;
    }

    public long getScore() {
        return score;
    }

    public void setScore(long score) {
        this.score = score;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

}
